{% extends 'base.html' %}
{% load static %}

{% block content %}
    <title>{{ username }}的个人站点</title>
    <link rel="shortcut icon" href="{% static 'blog/img/user.ico' %}" type="image/x-icon">
    <div class="article_list">
        {% for article in article_list %}
            <div class="article_item clearfix">
                <h5><a href="/{{ user.username }}/article/{{ article.pk }}">{{ article.title }}</a></h5>
                <div class="article-desc">
                    {{ article.desc | safe }}
                </div>
                <div class="small pub_info pull-right">
                    <span>发布于&nbsp;&nbsp;{{ article.create_time|date:"Y-m-d H:i" }}</span>&nbsp;&nbsp;&nbsp;
                    <span class="glyphicon glyphicon-comment"></span>评论({{ article.comment_count }})&nbsp;&nbsp;&nbsp;
                    <span class="glyphicon glyphicon-thumbs-up"></span>评论({{ article.up_count }})&nbsp;&nbsp;&nbsp;
                </div>
            </div>
            <hr>
        {% endfor %}
    </div>
{% endblock %}